﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using NewBee.Core.BusinessService;

// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860

namespace WebMvc.Controllers
{
    public class HomeController : BaseController
    {
        // GET: /<controller>/
        AgentFactory _AgentFactory = new AgentFactory();

        public IActionResult Index()
        {
            return View();
        }

        public string Delete(long id)
        {
            return _AgentFactory.AdminLoginLog.Delete(id).ToString();
        }
    }
}
